﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrador/Asistente/Master_Asistente.master" AutoEventWireup="true" CodeFile="Agragar_Adeudos.aspx.cs" Inherits="Administrador_Asistente_Agragar_Adeudos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <h1>Asignación de Adeudos</h1>
        <div id="tablewrapper">
        <table cellpadding="0" cellspacing="0" border="0" id="table" class="tinytable">
            <thead>
            
                <tr>
                    <th class="nosort"><h3>Matricula</h3></th>
                    <th><h3>Nombre</h3></th>
                    <th><h3>Apellido</h3></th>
                    <th><h3>Grupo</h3></th>
                    <th><h3>Agregar</h3></th>
       
                </tr>
            </thead>
            <tbody>
            <%
                ArrayList Lista = new ArrayList();
                Lista =(ArrayList)Session["Lista"];

                for (int i = 0; i < Lista.Count; i++)
                {
                    alumNopay alum = new alumNopay();
                    alum = (alumNopay)Lista[i];   
                    %>
                <tr>
                    <td><%=alum.Matricula %></td>
                    <td><%=alum.Nombre %></td>
                    <td><%=alum.Apaterno %><%=alum.Amaterno %></td>
                    <td><%=alum.Grupo %></td>
                    <td><a href="AgregarAdeudoAlumno.aspx?Matricula=<%=alum.Matricula %>" >Agrega Adeudo</a></td>           
                </tr>
                <%} %>
                
            </tbody>
        </table>
    </div>



	<script type="text/javascript" src="../../script.js"></script>
	<script type="text/javascript">
	    var sorter = new TINY.table.sorter('sorter', 'table', {
	        headclass: 'head',
	        ascclass: 'asc',
	        descclass: 'desc',
	        evenclass: 'evenrow',
	        oddclass: 'oddrow',
	        evenselclass: 'evenselected',
	        oddselclass: 'oddselected',
	        paginate: true,
	        size: 10,
	        colddid: 'columns',
	        currentid: 'currentpage',
	        totalid: 'totalpages',
	        startingrecid: 'startrecord',
	        endingrecid: 'endrecord',
	        totalrecid: 'totalrecords',
	        hoverid: 'selectedrow',
	        pageddid: 'pagedropdown',
	        navid: 'tablenav',
	        sortcolumn: 1,
	        sortdir: 1,
	        sum: [8],
	        avg: [6, 7, 8, 9],
	        columns: [{ index: 7, format: '%', decimals: 1 }, { index: 8, format: '$', decimals: 0}],
	        init: true
	    });
  </script>
   </asp:Content>

